* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

.container {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f0f2f5;
    z-index: 10;
}

.title-input {
    font-size: 2.5em;
    color: #333;
    border: none;
    background: transparent;
    padding: 5px;
    width: 300px;
    font-weight: bold;
    outline: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.title-input:focus {
    border-bottom-color: #4CAF50;
}

.add-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.add-btn:hover {
    background-color: #45a049;
}

.notes-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    overflow: visible;
}

.note {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    min-height: 200px;
    min-width: 250px;
    transition: transform 0.3s;
    cursor: move;
    z-index: 20;
}

.note.dragging {
    opacity: 0.5;
    z-index: 1000;
}

.note:hover {
    transform: translateY(-5px);
    z-index: 30;
}

.note textarea {
    width: 100%;
    height: 150px;
    border: none;
    resize: none;
    font-size: 1em;
    padding: 10px;
    background: transparent;
    cursor: text;
}

.note textarea:focus {
    outline: none;
}

.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s;
}

.note:hover .delete-btn {
    opacity: 1;
}

.note-color {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option:hover {
    border-color: #333;
} 